<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Map test</title>
</head>
<script>
    let map = new Map()
    map.set('name','方丈')
    map.set('change',function() {
        console.log('改变了')
    })
    let key = {
        school:'ATGUIGU'
    }
    map.set(key,['北京','上海','深圳'])
    map.delete(key)
    console.log(map.get('name'))
    console.log(map)
    for (const v of map) {
        console.log('---> ',v)
    }
</script>
</html>